package com.generator.statics.outboundStatics.dao;

import com.generator.statics.outboundStatics.pojo.*;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface OutCountMapper {

    /**
     * 根据条件查询仓库信息
     * @param outCountObject
     * @return
     */
    public List<OutCountObject> getWarehouseList(OutCountObject outCountObject);

    /**
     * 根据条件找到指定的出库详情
     * @param outCountDetail
     * @return
     */
    public List<OutCountDetail> getOutCountDetial(OutCountDetail outCountDetail);

    /**
     * 根据订单id找到指定订单详情
     */
    public List<OutCountDelivery> getDeliveryByOrderId(OutCountDelivery outCountDelivery);

    /**
     * 查询指定订单号下的商品详情
     */
    public List<CommentDetial> getCommentDetialByOrderId(CommentDetial commentDetial);

    /**
     * 查找省份
     */
    public List<Province> getAllProvince(Province province);

    /**
     * 查找城市
     */
    public List<City> getAllCity(City city);
}
